package cn.edu.lingnan.translation.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserVideoManage对象", description="")
public class UserVideoManage implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "试题标题")
    private String title;

    @ApiModelProperty(value = "练习类型")
    private String type;

    @ApiModelProperty(value = "练习题材")
    private String theme;

    @ApiModelProperty(value = "用户性别 0(false)男, 1(true)女）")
    private Boolean userSex;

    @ApiModelProperty(value = "用户提交的音频路径")
    private String videoPath;

    @ApiModelProperty(value = "评分")
    private String score;

    @ApiModelProperty(value = "评价")
    private String evaluate;

    @ApiModelProperty(value = "评价人员的id")
    private String judgeId;

    @ApiModelProperty(value = "评价人员的姓名")
    private String judgeName;

    @ApiModelProperty(value = "评价的时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String judgeTime;

    @ApiModelProperty(value = "评分人员的id")
    private String gradeId;

    @ApiModelProperty(value = "评分人员的姓名")
    private String gradeName;

    @ApiModelProperty(value = "评分的时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String gradeTime;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    private Boolean isDelete;

    @ApiModelProperty(value = "创建时间(用户上传音频的时间)")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

}
